const runtime._Gscan
36 uses
runtime (current package)
mgcmark.go#L721: if readgstatus(gp)&_Gscan == 0 {
mgcmark.go#L726: switch readgstatus(gp) &^ _Gscan {
panic.go#L1232: if status&^_Gscan != _Grunning || gp.syscallsp != 0 {
preempt.go#L125: if s&_Gscan != 0 {
preempt.go#L167: if !castogscanstatus(gp, s, s|_Gscan) {
preempt.go#L270: case _Grunnable | _Gscan,
preempt.go#L271: _Gwaiting | _Gscan,
preempt.go#L272: _Gsyscall | _Gscan:
preempt.go#L273: casfrom_Gscanstatus(gp, s, s&^_Gscan)
preempt.go#L344: return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
proc.go#L851: if status&^_Gscan != _Gwaiting {
proc.go#L920: if newval == oldval&^_Gscan {
proc.go#L940: if newval == oldval|_Gscan {
proc.go#L960: if (oldval&_Gscan != 0) || (newval&_Gscan != 0) || oldval == newval {
proc.go#L1034: oldstatus := readgstatus(gp) &^ _Gscan
proc.go#L1049: if old != _Grunning || new != _Gscan|_Gpreempted {
proc.go#L1053: for !atomic.Cas(&gp.atomicstatus, _Grunning, _Gscan|_Gpreempted) {
proc.go#L2424: if status&^_Gscan != _Grunnable {
proc.go#L3341: if status&^_Gscan != _Grunning {
proc.go#L3390: if status&^_Gscan != _Grunning {
proc.go#L3416: casGToPreemptScan(gp, _Grunning, _Gscan|_Gpreempted)
proc.go#L3418: casfrom_Gscanstatus(gp, _Gscan|_Gpreempted, _Gpreempted)
proc.go#L4982: switch s &^ _Gscan {
runtime2.go#L98: _Gscan = 0x1000
runtime2.go#L99: _Gscanrunnable = _Gscan + _Grunnable // 0x1001
runtime2.go#L100: _Gscanrunning = _Gscan + _Grunning // 0x1002
runtime2.go#L101: _Gscansyscall = _Gscan + _Gsyscall // 0x1003
runtime2.go#L102: _Gscanwaiting = _Gscan + _Gwaiting // 0x1004
runtime2.go#L103: _Gscanpreempted = _Gscan + _Gpreempted // 0x1009
signal_unix.go#L747: if crashing > 0 && gp != _g_.m.curg && _g_.m.curg != nil && readgstatus(_g_.m.curg)&^_Gscan == _Grunning {
stack.go#L1162: if s := readgstatus(gp); s&_Gscan == 0 {
traceback.go#L819: if readgstatus(gp)&^_Gscan == _Gsyscall {
traceback.go#L985: isScan := gpstatus&_Gscan != 0
traceback.go#L986: gpstatus &^= _Gscan // drop the scan bit
traceback.go#L1047: if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {